﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Lead2012.Business
{
    public class ApplicationRepository
    {

        Lead2012Entities entities = new Lead2012Entities();

        public Application GetSingle(string name)
        {
            return (from _object in entities.Applications where _object.Name == name select _object).FirstOrDefault();
        }
    }
}